{% extends 'tasks/base.html' %}

{% block content %}
    <div class="col-xs-offset-2 col-sm-offset-4 col-md-offset-4 col-xs-8 col-sm-4 col-md-4">
        <br /><br />
        <h1>新增文章</h1>
        <form method="POST" class="post-form">{% csrf_token %}
            {{ form.as_p }}
            <button type="submit" class="save btn btn-primary">保存</button>
        </form>
    </div>
{% endblock %}